{% extends "layout.html" %}
{% block title %}文章{% endblock %}
{% block content %}

<div class="left">
    <header class="post-title">
        <h1>{{ data.title }}</h1>
    </header>
    <article class="post tag-uifont tag-webview">
        <header class="post-header">
            <footer class="tc">
                {{ data.author }}
                <time class="post-date" datetime="2022-10-11">{{ data.created_at }}</time>
            </footer>
        </header>
        <section class="post-content">
            <section class="post-content p10">
                {{ data.content | raw }}
            </section>
        </section>
        <footer>
            原文地址: {{ data.source_url }}
        </footer>
    </article>
</div>
<aside class="right">
    <div class="ad">
    </div>
    <div class="aside-list">
        <div class="cardtit">最新更新文章</div>
        <ul>
            {% for item in updates %}
            <li>
                <a href="/post/{{ item.id }}.html">{{ item.title }}</a>
                <span>{{ item.created_at }}</span>
            </li>
            {% endfor %}
        </ul>
    </div>
</aside>
{% endblock %}